﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ys.Base.Common.Identity
{
    /// <summary>
    /// jwt token实体
    /// </summary>
    public class JwtTokenEntity
    {
        /// <summary>
        /// 状态标识
        /// </summary>
        public bool Status { get; set; } = false;
        /// <summary>
        /// 状态
        /// </summary>
        public int code { get; set; }

        /// <summary>
        /// 返回消息
        /// </summary>
        public string? message { get; set; }
        /// <summary>
        /// token字符串
        /// </summary>
        public string? Token { get; set; }
        /// <summary>
        /// 过期时差
        /// </summary>
        public int expires_in { get; set; }

        /// <summary>
        /// 明文返回的附加数据
        /// </summary>
        public object? Data { get; set; }
    }
}
